'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	const {
		_id
	} = event
	const res = await db.collection('goods').doc(_id).get()
	return res
};
